import request from '@/utils/request'

// 制单管理-----账户补贴制单
// 查找
export function API_GET_LIST(data) {
  return request({
    url: '/accountinit/GetApplyGroupList',
    method: 'post',
    data: data
  })
}
// 制单
export function API_APPLY(data) {
  return request({
    url: '/accountinit/Apply',
    method: 'post',
    data: data
  })
}
// 查询
export function API_GETV_ID(data) {
  return request({
    url: '/accountinit/GetVbyLandid',
    method: 'post',
    data: data
  })
}
// 到账
export function API_FINANCE(data) {
  return request({
    url: '/accountinit/Finance',
    method: 'post',
    data: data
  })
}
// 全部制单
export function API_ACC_APP(data) {
  return request({
    url: '/accountinit/Applybylandid',
    method: 'post',
    data: data
  })
}
// 查询人员信息（未制单）
export function API_FIN_GETID(data) {
  return request({
    url: '/accountinit/GetInitNoApplyByLandid',
    method: 'post',
    data: data
  })
}
// 查询人员信息
export function API_FIN_GET(data) {
  return request({
    url: '/accountinit/GetInitByApply',
    method: 'post',
    data: data
  })
}

// 打印人员信息
export function API_DAYIN_GET (data){
  return request({
    url: '/farmer/GetvByInitGroup',
    method: 'post',
    data: data
  })
}

export function API_FIN_GET_ACC(data) {
  return request({
    url: '/accountinit/financebyapply',
    method: 'post',
    data: data
  })
}

// 查询账户支出制单所有申请单号
export function API_FIN_GET_ACLS(data) {
  return request({
    url: '/accountout/GetOutApplyGroupList',
    method: 'post',
    data: data
  })
}

// 根据单号做到账处理
export function API_FIN_GET_FA(data) {
  return request({
    url: '/accountout/FinanceApply',
    method: 'post',
    data: data
  })
}
// 
export function API_FIN_GET_GF(data) {
  return request({
    url: '/accountout/GetVbyFinance',
    method: 'post',
    data: data
  })
}
